Transceiver circuit including an echo canceller

ABSTRACT

A circuit for transmitting and receiving communications. The circuit includes a transmit block, a receive block, and an echo canceller, coupled to the transmit block and to the receive block, for determining an echo signal and subtracting it from the received signal, the determination of the echo signal involving a predetermined number N of coefficients calculated at the beginning of each of the communications in an initialization phase. The circuit periodically updates during communication a restricted group of coefficients chosen from among the most significant coefficients. The present invention also relates to an echo cancellation method.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to circuits for the simultaneous transmission and reception of signals (“full duplex” communications) over a transmission line, and especially circuits of this type including an echo canceller.

[0003] 2. Discussion of the Related Art

[0004] Commonly-called “full-duplex” communications (simultaneous transmission and reception of signals) can be of two different types. In a first type, the signals are transmitted and received over different frequency ranges and, in a second type, they are transmitted and received over the same frequency range.

[0005] When the transmitted and received signals are in the same frequency range, the transmitted and received signals are superposed in the reception channel and an “echo canceller” is necessary to subtract from the received signals the fraction of the transmitted signals that is present on the receive side.

[0006]FIG. 1 shows a conventional circuit 2 including such an echo canceller. Circuit 2 is provided for exchanging signals with an exchange 4 via a two-wire transmission line 6. Circuit 2 includes a digital transmit block 8 and a digital receive block 10. Block 8 can receive signals to be transmitted from a microprocessor (not shown) and block 10 can provide the microprocessor with the received signals for processing. Circuit 2 then behaves as a modem. A digital-to-analog converter (DAC) 12 converts the digital signal provided by transmit block 8 into an analog output signal A. An analog-to-digital converter (ADC) 14 converts analog signal R corresponding to the received signal into a digital signal supplied to receive block 10.

[0007] An analog unit 16 is arranged between the output of converter 12, the input of converter 14, and a terminal 17 connected to one end of a primary winding of an isolation transformer 18. The other end of the primary winding of transformer 18 is grounded, and each end of the secondary winding of transformer 18 is connected to a wire of line 6. Unit 16 includes a resistor R1 connected between the output of converter 12 and terminal 17. Unit 16 also includes a voltage divider formed of two resistors R2 and R3 connected in series between the output of converter 12 and the ground. An analog subtractor 19 is connected to subtract the signal provided by the voltage divider from the signal present on terminal 17. The output of subtractor 19 is connected to the input of converter 14.

[0008] The value of resistor R1 is equal to the line impedance, as seen from the primary of transformer 18. Accordingly, signal A being provided by converter 12, a signal A/2 is present on terminal 17. Further, the values of resistors R2 and R3 are equal and the voltage divider provides a signal A/2 at its midpoint. When a signal B is provided by exchange 4, a signal A/2+B is present on terminal 17 and, at the output of subtractor 19, the signal is: R=A/2+B−A/2, that is, B. Thereby, signal R provided to converter 14 contains no disturbances from transmitted signal A.

[0009] In practice, it is difficult to perfectly adjust resistance R1 to the line impedance, which can by the way include a reactive component. Circuit 10 then receives a so-called “close echo” signal. This close echo is due to a fraction of signal A that is present in signal R without having crossed the transmission line. The circuit also receives a fainter so-called “remote echo” signal, due to the reflection of the transmitted signal at the end of the transmission line. The present invention does not deal with the remote echo signal, and “echo” will hereafter only designate the close echo.

[0010] When there is an echo AA, signal R is equal to B+ΔA. To suppress echo signal ΔA, circuit 2 includes a digital echo canceller coupled between the output of block 8, the output of converter 14, and the input of block 10. The echo canceller includes a digital filter 20 for generating a signal representative of the echo and a digital subtractor 22 for subtracting this signal representative of the echo from the digital signal generated by converter 14.

[0011]FIG. 2 schematically shows a conventional filter 20. Filter 20 includes a predetermined number N of series-connected delay elements 26 i, where i is included between 1 and N,. The first element 261 receives as an input the samples corresponding to the digital signal provided by block 8. Elements 26 i each introduce a delay equal to the sampling period T of the transmitted signal. For each new sample D0 received as an input by element 261, elements 26 i each provide a sample D_(i) respectively delayed by i periods with respect to sample D0. Filter 20 also includes N multipliers 28 i. Each multiplier 28 i is provided for multiplying one of delayed elements D_(i) by a coefficient K_(i). Filter 20 includes an adder 30 that sums up the products K_(i.D) _(i). Adder 30 provides the output signal of filter 20, designated as E, corresponding to an estimate of the echo. Coefficients K; are generated by a calculation means, not shown for reasons of clarity.

[0012] At the beginning of each communication, an initialization phase takes place. In this initialization phase, exchange 4 transmits no signal, block 8 transmits signal A, and signal R is equal to ΔA only. Each coefficient K_(i), null at the beginning of the initialization phase, is iteratively calculated by means of the following equation:

K _(i)(t)=K _(i)(t−1)+ε.Err(t).D _(i)(t)  (1)

[0013] Two successive iterations are separated by an integral number of periods T. K_(i)(t) and K_(i)(t−1) respectively are the value of coefficient K_(i) at time t of the iteration and upon the preceding iteration, F is a predetermined attenuation factor, Err(t) and D_(i)(t) respectively are the output signal of subtractor 22 and sample D_(i) at time t of the iteration. Signal Err(t) can be positive or negative. In the initialization, the value of coefficients K_(i) varies until signal Err(t) is substantially null. The values of coefficients K_(i) then almost no longer vary and are stored in a memory (not shown).

[0014] After the initialization phase, the signal exchange starts and the exchange transmits a signal B; converter 14 receives an analog signal R equal to B+ΔA that it provides, in a digitized form, to subtractor 22. Filter 20 provides signal E corresponding to ΔA and block 10 receives an echo-free digital signal.

[0015] A disadvantage of such a device is that the values of coefficients K_(i) are set during the entire communication and correspond to the operating conditions of circuit 2 during the initialization phase. Now, during circuit operation, the operating conditions may change, and the estimated echo signal E may no longer be equal to the real echo signal. For example, in operation, the circuit temperature increases and the transformer's impedance may change. Such a phenomenon currently occurs when the initialization phase takes place immediately after circuit powering-on, and the temperature of circuit 2 and of transformer 18 increases after the initialization phase. The echo, which is poorly compensated for, then disturbs the receive signal and can make it impossible to use.

[0016] A solution then consists of interrupting the ongoing communication and of initiating a new communication. This enables new calculation of coefficients Kj in a new initialization phase. However, this “brutal” solution is sometimes extremely inconvenient. In the case of an Internet communication, for example, such an interruption can cause a loss of connection.

SUMMARY OF THE INVENTION

[0017] An object of the present invention is to provide a circuit provided with an echo canceller that operates despite variations of operating condition between the initialization and nominal operation phases.

[0018] Another object of the present invention is to provide such a circuit that is easy to implement based on a conventional circuit structure.

[0019] To achieve these and other objects, as well as others, the present invention provides a circuit for transmitting and receiving communications. The circuit includes a transmit block, a receive block, and an echo canceller, coupled to the transmit block and to the receive block, for determining an echo signal and subtracting it from the received signal, the determination of the echo signal involving a predetermined number N of coefficients calculated at the beginning of each of the communications in an initialization phase. The circuit includes means for periodically updating, during communication, a restricted group of coefficients chosen from among the most significant coefficients.

[0020] According to an embodiment of the present invention, said restricted group is formed by the maximum coefficient obtained at the end of the initialization phase and a defined number of its neighbors.

[0021] According to an embodiment of the present invention, said restricted group is formed by all the coefficients having a value at the end of the initialization phase which is greater than a predetermined threshold.

[0022] According to an embodiment of the present invention, the determination of the coefficients in the initialization phase and the updating of the coefficients of said restricted group are performed iteratively, the calculation mode for the updating of the coefficients of said group making the coefficients converge more slowly than the calculation mode for the determination of the coefficients during the initialization phase.

[0023] According to an embodiment of the present invention, the echo canceller includes a filter receiving samples transmitted by the transmit block and providing the echo signal to a first input of a subtractor, a second input of which receives samples received by the circuit and the output of which is connected to the input of the receive block.

[0024] According to an embodiment of the present invention, the filter includes:

[0025] N series-connected delay elements, receiving the transmitted samples,

[0026] N multipliers, each multiplier being provided for multiplying by one of the coefficients the sample at the output of the delay element of same rank, and an adder for summing up the signals at the output of the multipliers.

[0027] The present invention also provides an echo canceling method in a circuit adapted for transmitting and/or receiving a respectively transmitted and/or received signal, and in which a signal representative of the echo is subtracted from the received signal, the signal representative of the echo being determined by summing up N terms, each term being obtained by multiplying a sample of rank i of the transmitted signal by a coefficient of rank i, i ranging between 1 and N. The method includes the steps of:

[0028] in an initialization phase corresponding to the beginning of a communication, determining the value of the N coefficients of rank i,

[0029] determining the most significant coefficients, and

[0030] during the communication, updating the coefficients of a restricted group of said coefficients chosen from among the most significant coefficients.

[0031] The foregoing objects, features and advantages of the present invention will be discussed in detail in the following non-limiting description of specific embodiments in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0032]FIG. 1, previously described, shows a conventional circuit including an echo canceller;

[0033]FIG. 2, previously described, schematically shows a filter of the echo canceller of FIG. 1; and

[0034]FIG. 3 shows a diagram schematically illustrating the values of coefficients used in the filter of FIG. 2.

DETAILED DESCRIPTION

[0035] According to the present invention, a restricted group of significant coefficients is identified from among coefficients K_(i), at the end of the initialization phase. Then, during circuit operation, only this restricted group of coefficients is periodically updated. The applicant has devised this solution after various studies having shown, among others, the difficulties of periodically updating all the coefficients of filter 20.

[0036]FIG. 3 shows a curve C illustrating the value of the coefficients of filter 20 obtained at the end of an initialization phase. N=32 coefficients have been shown herein, but in practice, number N may be any number. Very generally speaking, tests have shown that curve C exhibits a peak, and that the number of the significant coefficients is small. According to the present invention, the coefficient retained as being the most significant one is the coefficient corresponding to the peak of the initialization curve. In FIG. 3, the maximum coefficient is the thirteenth coefficient, K₁₃. The other significant coefficients can be determined in several ways.

[0037] According to an embodiment of the present invention, the other retained coefficients are the coefficients having a rank which is an immediate neighbor of that of the maximum coefficient. The number of retained coefficients is a predetermined number. This number may be determined, for example according to the total number of coefficients, or may be automatically determined based on curve C by appropriate calculation means. In FIG. 3, a group of five significant coefficients K_(j) including the coefficients of rank 11, 12, 13, 14, and 15 is for example chosen.

[0038] When the circuit operates, the present invention provides periodically updating the significant coefficients according to the following formula:

K _(j)(t)=K _(j)(t−1)+ε′.Err(t).D _(j)(t)  (2)

[0039] where j is the rank of any one of the retained coefficients (11, 12, 13, 14 or 15 in the given example), where K_(j)(t) and K_(j)(t−1) respectively are the value of coefficient K_(j) at time t of the iteration and in the preceding iteration, where ε′ is a predetermined attenuation factor, and Err(t) and D_(j)(t) respectively are the output signal of subtractor 22 and sample D_(j) at time t of the iteration.

[0040] The calculation means intended for implementing formula (2) can be the same as the calculation means intended for implementing formula (1), controlled for only processing the restricted group of coefficients K_(j).

[0041] Attenuation coefficient ε′ is chosen to be smaller than attenuation coefficient E of the initialization phase.

[0042] Indeed, a difficulty of the updating of the coefficients during a communication is that the received signal R includes both signal B transmitted by the exchange and echo ΔA, much fainter than B. Taking a coefficient ε′ on the order of ε, the successive iterations do not converge and the coefficients take aberrant values. However, since signal B is generally very decorrelated with respect to the echo, it is possible, with a coefficient ε′ smaller than ε, to reduce the variation speed of coefficients K_(j) and to obtain their convergence. For example, ε′ may be chosen to be 8 times as small as ε.

[0043] It should be noted that the updating of all the coefficients K_(j) during communication, even with a very small ε′, presents significant difficulties in practice since it is very slow and the obtained coefficients cannot follow the line drifts.

[0044] However, the choice of a restricted number of coefficients to be updated, associated with a smaller value of ε, enables following the modifications of the operating conditions of the circuit. Thus, the estimated echo remains continually close to the real echo and the signal-to-noise ratio of the signal provided to receive block 10 remains acceptable.

[0045] The updating can be performed continually during the communication. In this case, the coefficients of the chosen restricted group will be updated one after the other, starting for example with the coefficient having the highest value. Also, the updating of the restricted group can be periodically performed, a time interval separating two successive updates.

[0046] Of course, the present invention is likely to have various alterations, modifications, and improvements which will readily occur to those skilled in the art. Especially, it has been seen in relation with FIG. 3 that the retained significant components could be a predetermined number of coefficients in the vicinity of the maximum coefficient. According to an alternative of the present invention, the retained components are the coefficients, the value of which, at the end of the initialization phase, is greater than or equal to a predetermined percentage of the value of the maximum coefficient. In this alternative, this percentage may be determined according to the total number of coefficients, or may be automatically determined based on curve C by appropriate calculation means.

[0047] Also, the updating of the most significant coefficients K_(j) has been described by means of formula (2) but, in an alternative of the present invention, in the described filter, each coefficient K. is calculated based on the product of the value of sample D_(j)(t) provided by delay element 26 _(j) and of the output of subtractor 22 Err(t), but those skilled in the art will easily adapt the present invention to a filter in which each coefficient is initialized based on an average of the products of samples D_(j) to D_(j+k−1) and of the outputs of subtractor 22 Err(t) to Err(t−k+1), where the updating is performed every k samples, according to the following formula:

K _(j)(t)=K _(j)(t−kt)+ε′Σ_(l=0) ^(l=k−1)Err(t−1).D _((j+1))(t),

[0048] l being a variable ranging from 0 to k-1.

[0049] Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The present invention is limited only as defined in the following claims and the equivalents thereto. 

What is claimed is:
 1. A circuit for transmitting and receiving communications, including: a transmit block, a receive block, an echo canceller, coupled to the transmit block and to the receive block, for determining an echo signal and subtracting it from the received signal, the determination of the echo signal involving a predetermined number of coefficients calculated at a beginning of each communication in an initialization phase, and means for periodically updating, during communication, a restricted group of coefficients chosen from among the most significant coefficients, wherein said restricted group is formed by a maximum coefficient obtained at an end of the initialization phase and a defined number of its neighbors.
 2. The circuit of claim 1, wherein the determination of the coefficients in the initialization phase and the updating of the coefficients of said restricted group are performed iteratively, a calculation mode for updating of the coefficients of said group making the coefficients converge more slowly than a calculation mode for the determination of the coefficients during the initialization phase.
 3. The circuit of claim 1, wherein the echo canceller includes a filter receiving samples transmitted by the transmit block and providing the echo signal to a first input of a subtractor, a second input of which receives samples received by the circuit, and the output of which is connected to the input of the receive block.
 4. The circuit of claim 3, wherein the filter includes: N series-connected delay elements receiving the transmitted samples, N multipliers, each multiplier being provided for multiplying by one of the coefficients a sample at an output of the delay element of same rank, and an adder for summing up the signals at an output of the multipliers.
 5. A method of echo canceling in a circuit adapted for transmitting and/or receiving a respectively transmitted and/or received signal, and in which a signal representative of the echo is subtracted from the received signal, the signal representative of the echo being determined by summing up N terms, each term being obtained by multiplying a sample of rank i of the transmitted signal by a coefficient of rank i, i ranging between 1 and N, including the steps of: in an initialization phase corresponding to a beginning of a communication, determining a value of the N coefficients of rank i, determining the most significant coefficients, and during the communication, updating coefficients of a restricted group of said coefficients chosen from among the most significant coefficients, said restricted group being formed by a maximum coefficient obtained at an end of the initialization phase and a defined number of its neighbors. 